package edu.esiag.isidis.fi.LBTest;



import edu.esiag.isidis.fi.lb.impl.ManagerLB;
import edu.esiag.isidis.fi.lb.impl.NoEntityException;


public class LoadBalancingTestt {
	

	public static void main(String[] args) throws NoEntityException {
            ManagerLB<ReciverEntity, Byte> loadBalancer = new ManagerLB<ReciverEntity, Byte>();
            loadBalancer.getmRegister().register(new ReciverEntity("Composant 1",15));
            loadBalancer.getmRegister().register(new ReciverEntity("Composant 2",10));
            loadBalancer.getmRegister().register(new ReciverEntity("Composant 3",25));
            loadBalancer.getmRegister().register(new ReciverEntity("Composant 4",10));
            loadBalancer.activeEntity("Composant 4");
            new InfoGenerator(loadBalancer.getmNotifier());
	}
}

